#{if _mode == 'display'}
	<table id="languages_table">
		<br/>
		<thead>
			<tr>
				<div class="list_one_title">Langue</div>
				<div class="list_one_description">Niveau</div>
			</tr>
			<tbody>
		    	#{list items: _languages, as:'language'}
				<tr>
					<div class="list_title">${language.getLanguage().getName()} : </div> 
					<div class="list_description"> ${language.getLevel()}</div>
				</tr>
				#{/list}
			</tbody>		
		</thead>		

	</table>
#{/if}

#{if _mode == 'display_pdf'}
	<table>
		<thead>
				<th>Langue</th>
				<th>Niveau</th>
			</tr>
		</thead>
		<tbody>
	   	 	#{list items: _languages, as:'language'}
	   	 	<tr>
					<td>${language.getLanguage().getName()} </td>
					<td>${language.getLevel()} </td>
			</tr>	
			#{/list}
		</tbody>
	</table>
#{/if}


#{if _mode == 'add' }

		<img src="@{'/public/images/plus.jpg'}" alt="plus" width="25px" onclick="javascript:appendLanguageInput()"/>
		<img src="@{'/public/images/minus.jpg'}" alt="minus" width="25px" onclick="javascript:removeLanguageInput()"/>
		<br/>
		<br/>
		<div id="language_title">Langue</div> 
		<div id="level_title">Votre niveau</div>
		<br/>
		<div id="languages_inputs"></div>
		<button id="add_language_button" onclick="javascript:submitAddLanguagesForm()">Sauvegarder</button>
#{/if}

